Vcenter Compute Policies CreateResult

Vcenter Compute Policies CreateResult
Vcenter Compute Policies CreateResult

The Vcenter Compute Policies CreateResult schema contains the result of a batch create operation for compute policies. See POST /vcenter/compute/policies?action=create-tags-and-policies

This schema was added in vSphere API 9.1.1.0.

JSON Example
{
    "policies": {
        "policies": {
            "policy": "string",
            "info": {
                "name": "string",
                "description": "string",
                "capability": "string",
                "managed_by": {
                    "entity": "string"
                }
            }
        }
    },
    "errors": {
        "errors": {
            "messages": [
                {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": "Vapi Std NestedLocalizableMessage Object",
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                }
            ],
            "data": {},
            "error_type": "string"
        }
    }
}
object
policies
Optional

Map from policy name to the result information for each successfully created compute policy.

This property was added in vSphere API 9.1.1.0.

if missing or null, no policies were successfully created.

object
errors
Optional

Map from policy name to the error encountered during creation of the compute policy.

This property was added in vSphere API 9.1.1.0.

if missing or null, all policies were successfully created.